/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "项目BOM",TableName = "Ls_pro_bom")]
    public partial class Ls_pro_bom:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="ls_pro_bom_id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid ls_pro_bom_id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ls_project_id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? ls_project_id { get; set; }

       /// <summary>
       ///BOM号
       /// </summary>
       [Display(Name ="BOM号")]
       [MaxLength(50)]
       [Column(TypeName="nchar(50)")]
       [Editable(true)]
       public string bom_name { get; set; }

       /// <summary>
       ///立讯料号
       /// </summary>
       [Display(Name ="立讯料号")]
       [MaxLength(50)]
       [Column(TypeName="nchar(50)")]
       [Editable(true)]
       public string mara_for_ls { get; set; }

       /// <summary>
       ///客户料号
       /// </summary>
       [Display(Name ="客户料号")]
       [MaxLength(50)]
       [Column(TypeName="nchar(50)")]
       [Editable(true)]
       public string mara_for_cust { get; set; }

       /// <summary>
       ///供应商料号
       /// </summary>
       [Display(Name ="供应商料号")]
       [MaxLength(50)]
       [Column(TypeName="nchar(50)")]
       [Editable(true)]
       public string mara_for_sup { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(500)]
       [Column(TypeName="nchar(500)")]
       [Editable(true)]
       public string matx { get; set; }

       /// <summary>
       ///用量
       /// </summary>
       [Display(Name ="用量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? yon_unit { get; set; }

       /// <summary>
       ///原厂
       /// </summary>
       [Display(Name ="原厂")]
       [MaxLength(50)]
       [Column(TypeName="nchar(50)")]
       [Editable(true)]
       public string original { get; set; }

       /// <summary>
       ///供应商
       /// </summary>
       [Display(Name ="供应商")]
       [MaxLength(50)]
       [Column(TypeName="nchar(50)")]
       [Editable(true)]
       public string gyname { get; set; }

       /// <summary>
       ///是否在pdb中存在
       /// </summary>
       [Display(Name ="是否在pdb中存在")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? isinpdb { get; set; }

       
    }
}